<script>
    document.title = "{{Title}}" + " - 登录";
</script>
{{> views/help/prepare}}
{{> views/help/messagebox}}

<form action="/login" method="get">
    <div class="mb-3">
      <label for="user" class="form-label">账号</label>
      <input type="text" class="form-control" id="user" name="user">
    </div>
    <div class="mb-3">
      <label for="password" class="form-label">密码</label>
      <input type="password" class="form-control" id="password" name="password">
    </div>
    <button type="submit" class="btn btn-primary">登录</button>
    <button type="button" class="btn btn-primary" onclick="window.location.href='/new';">注册</button>
</form>